import { getRequest, postRequest, putRequest } from '@/utils/request'

export const getClientsPage = params => {
  return getRequest('/clients/listPage', params, false)
}

export const addClient = params => {
  return postRequest('/clients/add', params)
}

export const updateClient = params => {
  return putRequest('/clients/edit', params)
}

export const delClientsById = params => {
  return postRequest('/clients/remove', params)
}
